<?php
namespace App\Models;


use App\Models\ModelX;

class Users extends ModelX
{
    protected $table = 'users';

    protected $dateFormat = 'U';

    protected $fillable = ['nickname']; // 指定可被填充的字段

    public $rules =  [
        'nickname' => 'string|max:10',
        'account' => 'string|max:10'
    ];

}
